<!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script>
    test(function() {
        var img = new Image();
        img.src = "";
        assert_equals(img.width, 0);
    }, "Test that a data URI resource doesn't get loaded synchronously");
</script>
